﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Data.Linq;

namespace G.Reader.Data
{
    public class MessageDatabase : DataContext
    {
        private const string DBConnectionString_Message = "Data Source=isostore:/reader_message.sdf";

        public MessageDatabase(string connectionstring)
            : base(connectionstring)
        {

        }

        public static MessageDatabase Create()
        {
            return new MessageDatabase(DBConnectionString_Message);
        }

        public Table<Message> MessagesTable;
    }
}
